package com.example.s05_shop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "user")
public class User {


    @TableId(value = "id",type = IdType.AUTO)
    private int id;

    @TableField
    private String username;
    @TableField
    private String password;
    @TableField
    private String email;
    @TableField
    private String nickname;
    @TableField
    private String tel;
    @TableField
    private String name;
    @TableField
    private String address;

}
